package com.dt.common.validation.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Min {

	String msg() default "必须小于或等于${value}";

	/**
	 * 必须大于或等于该值
	 * 
	 * @return
	 */
	long value();
}
